<?php
/**
 * Created By Project
 * Author: 陈东
 * Copyright：陈东
 * Source Code：陈东
 * Explain：I shall not authorize for any other commercial purposes, law breakers must be prosecuted.
 */
namespace Home\Widget;
use Think\Controller;
class DbnWidget extends Controller {

	//获取华人大拜年手机端列表页
	public function gethrbnlist($res){ 
		$str = null;
		 foreach ($res as $key=>$vo){
			$str .= "<a href=\"".U('videodetail',array('id'=>$vo['id']))."\" class=\"content-list\">"
			 ."			<i><img src=\"/assets/bn/mobile/images/bk.png\"></i>"
			 ."			<div class=\"tp-box\">"
			 ."				<img src=\"".$vo['bn_pic']."\" class=\"imgs\" width=\"169px\" height=\"140px\">"
			 ."			</div>"
			 ."			<div class=\"wenzi-box\">"
			 ."				<h5>".$vo['bn_title']."</h5>"
			 ."				<em>".$vo['bn_name']."</em>"
			 ."			</div>"
			 ."		</a>";
			 }
   			echo $str;
	}

}
?>